package com.zhwmall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "com.zhwmall.common.feign")  // feign远程调用开启注解
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages={"com.zhwmall.member", "com.zhwmall.common"})
@MapperScan(value = "com.zhwmall.member.dao")
public class ZhwmallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhwmallMemberApplication.class, args);
    }

}
